#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;

class Solution {
public:
    int trailingZeroes(int n) {
        int count = 0;
        for (long long i = 5; n / i > 0; i *= 5)
        {
            count += n / i;
        }
        return count;
    }
};

int main()
{
    float a =6.6;
    int b = a;
    cout << a << " ";
    cout << b;
	return 0;
}

int main() {
    float a;
    cin >> a;
    int b = (int)a;
    float num = a - b;
    if (num >= 0.5)
    {
        cout << b + 1;
    }
    else {
        cout << b;
    }
}